import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/css/base.css'
import './assets/js/setRem'
import Vant from 'vant'
import 'vant/lib/index.css'
import './assets/icon/iconfont.css'
import $loading from './plugins/loding/index'
import moment from 'moment'
import { Carousel, Button, carouselItem, Image } from 'element-ui'

Vue.prototype.$moment = moment
Vue.use(Carousel)
  .use(Button)
  .use(carouselItem)
  .use(Image)

Vue.use(Vant)

Vue.use($loading)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
